package com.ruoyi.pims.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售排行对象 ry_sales_ranking
 * 
 * @author ruoyi
 * @date 2025-06-18
 */
public class RySalesRanking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排行ID */
    private Long rankingId;

    /** 关联汇总ID */
    @Excel(name = "关联汇总ID")
    private Long summaryId;

    /** 目标ID(商品/客户) */
    @Excel(name = "目标ID(商品/客户)")
    private Long targetId;

    /** 目标名称 */
    @Excel(name = "目标名称")
    private String targetName;

    /** 销售额 */
    @Excel(name = "销售额")
    private BigDecimal salesVolume;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private Long salesCount;

    /** 排名位置 */
    @Excel(name = "排名位置")
    private Long rankPosition;

    public void setRankingId(Long rankingId) 
    {
        this.rankingId = rankingId;
    }

    public Long getRankingId() 
    {
        return rankingId;
    }

    public void setSummaryId(Long summaryId) 
    {
        this.summaryId = summaryId;
    }

    public Long getSummaryId() 
    {
        return summaryId;
    }

    public void setTargetId(Long targetId) 
    {
        this.targetId = targetId;
    }

    public Long getTargetId() 
    {
        return targetId;
    }

    public void setTargetName(String targetName) 
    {
        this.targetName = targetName;
    }

    public String getTargetName() 
    {
        return targetName;
    }

    public void setSalesVolume(BigDecimal salesVolume) 
    {
        this.salesVolume = salesVolume;
    }

    public BigDecimal getSalesVolume() 
    {
        return salesVolume;
    }

    public void setSalesCount(Long salesCount) 
    {
        this.salesCount = salesCount;
    }

    public Long getSalesCount() 
    {
        return salesCount;
    }

    public void setRankPosition(Long rankPosition) 
    {
        this.rankPosition = rankPosition;
    }

    public Long getRankPosition() 
    {
        return rankPosition;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rankingId", getRankingId())
            .append("summaryId", getSummaryId())
            .append("targetId", getTargetId())
            .append("targetName", getTargetName())
            .append("salesVolume", getSalesVolume())
            .append("salesCount", getSalesCount())
            .append("rankPosition", getRankPosition())
            .toString();
    }
}
